Skip to content

gh-162055: Remove duplicated note in the C API introduction - #162072

Open
mPadovani74 wants to merge 1 commit into
python:mainfrom
mPadovani74:gh-162055-intro-dup-note
Open

mPadovani74 wants to merge 1 commit into
python:mainfrom
mPadovani74:gh-162055-intro-dup-note

Conversation

@mPadovani74

Copy link
Copy Markdown

The note saying that Python.h must be included before any standard header appeared twice in Doc/c-api/intro.rst: under "Include Files" and again under "System includes".

This removes the second copy, which sits after the list of implicit includes, and keeps the first one, where it is relevant. I built the docs and checked that the note now appears once in the generated c-api/intro.html.

Fixes #162055

The note about including Python.h before any standard header appeared
twice in Doc/c-api/intro.rst, once under "Include Files" and again under
"System includes". Keep the first one, where it is relevant.
@python-cla-bot

python-cla-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35914691 | 📁 Comparing ded147f against main (2e14c83)

  🔍 Preview build  

1 file changed
± c-api/intro.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

The same note has been written twice.

2 participants